Financial decision makers usually deal with many financial assets simultaneously. Modelling individual time series separately is thus an insufficient method as it leaves out information about co-movements and interactions between the instruments of interest.
In this project, we are going to study the trend of prices and returns in \(S\&P\) 500 Index, Gold, Bitcoin and Ehtereum. The main goal is to evaluate the correlation change between the stock index and the other three potential safe-haven assets especially after COVID-19 outbreak.
We use daily data over the period from March the 22th, 2017 to April the 27th, 2022 (03/23-04/27/2022 is left for validation), and calculate the returns by \(R_t = \frac{P_t}{P_{t-1}} - 1\). When merging the data at the data preparation stage, we left only those observations that were present in all series (i.e. those which had been missing in at least one series were deleted). The gold and index data were collected from Yahoo’s finance website while the Bitcoin and Ehtereum data were obtained from coinmarketcap. We construct return data using the corresponding close (or adjusted close) price data. The final dataset contains 1257 observations in total.
We now document main statistical properties of the time series for the returns of SPX, Gold, Bitcoin, and Ethereum. Figure 1 plots the price movements for each of the four assets. Stock price experienced a large drop in March 2020 during the pandemic outbreak while Bitcoin and Ethereum’s prices were not affected much by the outbreak of COVID-19. In early 2022, stock price experience a second sharp turbulence. Interestingly, about 2 months before the drop in SPX, both Bitcoin and Ethereum crashed. Similar trend was not observed in gold price.Evolution of prices.
Table 1 and Figures 2-5 show the statistics of SPX at the daily, weekly, and monthly frequencies compared to gold, Bitcoin, and Ethereum. At the daily frequency, the mean return is 0.05 percent and the standard deviation is 1.24 percent; at the weekly frequency, the mean return is 0.25 percent and the standard deviation is 2.53 percent; at the monthly frequency, the mean return is 1.04 percent and the standard deviation is 4.58 percent. Both the means and the standard deviations are higher than gold at daily, weekly, monthly settings. However, its means and standard deviations are much smaller than that of Bitcoin and Ethereum.
The Bitcoin and Ethereum returns are positively skewed at all frequencies in contrast to the stock returns which are negatively skewed. The skewness increases the most in Ethereum from 0.71 at the daily frequency to 2.05 at the monthly frequency.
SPX Return Distributions.
Gold Return Distributions.
Bitcoin Return Distributions.
Ethereum Return Distributions.
| Variables | n | Mean | SD | T-Statistics | Skewness | Kurtosis | % Return >0 |
|---|---|---|---|---|---|---|---|
| Gold_daily | 1257 | 0.04% | 0.93% | 1.42 | -0.03 | 6.47 | 0.54 |
| Spx_daily | 1257 | 0.05% | 1.24% | 1.54 | -0.7 | 18.75 | 0.56 |
| Btc_daily | 1257 | 0.41% | 4.9% | 2.97 | 0.03 | 5.51 | 0.54 |
| Eth_daily | 1257 | 0.56% | 6.73% | 2.93 | 0.71 | 6.84 | 0.51 |
| Gold_weekly | 262 | 0.18% | 1.99% | 1.45 | 0.09 | 4.04 | 0.57 |
| Spx_weekly | 262 | 0.25% | 2.53% | 1.62 | -0.94 | 8.89 | 0.61 |
| Btc_weekly | 262 | 2.01% | 11.19% | 2.9 | 0.36 | 1.84 | 0.57 |
| Eth_weekly | 262 | 2.69% | 15% | 2.9 | 0.59 | 1.71 | 0.53 |
| Gold_monthly | 62 | 0.73% | 3.52% | 1.63 | 0.27 | -0.13 | 0.56 |
| Spx_monthly | 62 | 1.04% | 4.58% | 1.79 | -0.5 | 0.98 | 0.74 |
| Btc_monthly | 62 | 9.12% | 26.45% | 2.71 | 0.46 | -0.49 | 0.55 |
| Eth_monthly | 62 | 13.61% | 43.38% | 2.47 | 2.07 | 7.93 | 0.61 |
Table 2 shows proportion of extreme events for all 4 assets at daily frequency. Gold is the most stable with only 0.24% of dates within 5 years having returns out of \(\pm0.5%\). SPX is less stable with 0.88% of dates having returns out of \(\pm0.5%\). The Bitcoin and Ethereum returns have high probabilities of exceptional negative and positive daily returns. The Bitcoin and Ethereum returns have similar characteristics: (1) positively skewed at all frequencies and having high kurtosis; and (2) high probabilities of exceptional negative and positive daily returns.
| Disasters | p(SPX) | p(Gold) | p(BTC) | p(ETH) |
|---|---|---|---|---|
| <-30% | 0% | 0% | 0.08% | 0.08% |
| <-20% | 0% | 0% | 0.16% | 0.4% |
| <-10% | 0.08% | 0% | 2.23% | 3.98% |
| <-5% | 0.4% | 0% | 9.79% | 12.97% |
| >5% | 0.4% | 0.24% | 12.73% | 17.58% |
| >10% | 0% | 0% | 3.58% | 6.13% |
| >20% | 0% | 0% | 0.32% | 1.03% |
| >30% | 0% | 0% | 0% | 0.4% |
The covariance matrix of two assets can be written as \[\Sigma = \begin{pmatrix} \sigma_{1}^2 & \rho\sigma_1\sigma_2 \\ \rho\sigma_1\sigma_2 & \sigma_{2}^2 \end{pmatrix} \], where \(\sigma_i\) is the volatility of asset i. The matrix \(\Sigma\) is change with time so does the correlation where \(\rho_{1,2,t} = \frac{Cov(X_{1,t}, X_{2,t})}{SD(X_{1,t})SD(X_{2,t})}\). Thus, a challenge question is that how can we know which is the true value of the instantaneous correlation between two assets, as a function of time?
One first solution would be to compute the rolling Pearson correlation coefficient between the returns of both time series. Figure 6 (a) presents the 100-day rolling correlation between returns of SPX and the potential safe-haven instruments: gold, Bitcoin, and Ethereum. We notice that between 2017 and early 2020, the correlations are insignificantly different from 0 in the whole period. Right after COVID-19 outbreak in March 2020, the correlations reaches the highest (0.6 for SPX vs. ETH and 0.54 for SPX vs. BTC). The correlation starts to drop in August 2020 and starts to increase again in October 2021. The increment continues in Apr 2022 where the correlations are as high as 0.47 for BTC vs. SPX and 0.49 for ETH vs. SPX.
Figure 6 (b) plots the log prices of SPX, BTC and ETH. We notice that the correlation increment in March 2020 was corresponding to the price drop due to COVID outbreak. The prices of three assets hitted their lowest point by the end of March and then gradually roared back since April. However, with economies struggling to remain afloat, funds began to move out of stock markets rapidly and pouring into gold and cryptocurrency. espite its highly volatile and speculative nature, new investors saw in it an opportunity to grow wealth at a rate unmatched by any other investment instrument. Thus, since April 2020, Bitcoin’s value rose nearly 300 percent by the end of the year. Meanwhile, the correaltion between cryptocurrency and SPX decreases.
Bitcoin’s trajectory soared until it reached an all-time high of $63,729 on 3 April 2021. The price increment slowed down and the correlation between stock market index and cryptocurrencies began to increase.100 day rolling correlation between SPX and gold, bitcoin as well as ethereum daily returns.
One shortcoming of rolling correlation is that the results is highly sensitive to window of calculation. We plotted the 20-day and 200-day correlations in Figure 7. The correlation plot varies a lot depending on analysis window.
20-day and 200-day rolling correlation between SPX and gold, bitcoin as well as ethereum daily returns.
As we have noticed from Figure 7 and Figure 8, rolling correlation can vary a lot depending on the sample window, we want to find out which is the best way to uncover the distribution of true dynamic correlation. We use multivariate GARCH model to study the relations between the volatilities and co-volatilities of each of the two assets returns, where the multivariate distribution of the returns can be used directly to compute the implied dynamic correlations.
DCC-GARCH model allows the conditional-on-past-history covariance matrix where covariance matrix can be modeled as linear combination of lagged covariance matrix and correlation matrix. From the conditional correlation plot by time, the correlation between SPX and BTC/ETH follows similar trend as 100-day rolling correlation, where the correlation reached its maximum in early March and started to decreasing afterwards due to price roaring in cryptocurrency prices. The correlation started to increase again in late 2021 when BTC prices crashed.
Figure 8 plots correlation prediction using the DCC-GARCH model. The true correlation is compared with the predicted values. DCC-GARCH model shows pretty accurate short term prediction while the prediction is off from the as-observed values over long time.
Dynamic correlations using DCC-GARCH model.
Predicted versus observed correlations using DCC-GARCH model using data from 03/23/2022-04/27/2022.